<template>
  <div>Child2 <button @click="$emit('changeAge', age)">change age</button></div>
</template>
<script>
export default {
  name: 'ChildCmp2',
  data() {
    return {
      age: 17
    }
  },
}
</script>